//
//  AYSHomeCollectionViewCell.m
//  AiYingShiProject
//
//  Created by lanou on 15/10/27.
//  Copyright (c) 2015年 李晓理. All rights reserved.
//

#import "AYSHomeCollectionViewCell.h"
@implementation AYSHomeCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        _picture = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 100, 140)];
       [self.contentView addSubview:_picture];
        
        _nameLable = [[UILabel alloc] initWithFrame:CGRectMake(0, 145, 100, 40)];
        _nameLable.textColor = [UIColor whiteColor];
        _nameLable.font = [UIFont systemFontOfSize:15];
        [self.contentView addSubview:_nameLable];
        
        _detialLable = [[UILabel alloc] initWithFrame:CGRectMake(0, 185, 100, 30)];
        _detialLable.font = [UIFont systemFontOfSize:12];
        _detialLable.numberOfLines = 0;
        _detialLable.textColor = [UIColor whiteColor];
        [self.contentView addSubview:_detialLable];
    }
    return self;
}


@end
